<template>
	<view class="">
		<view class="tac su">
			<image :src="imgUrl + 'sus.png'" mode=""></image>
			<view>绑卡成功</view>
		</view>
		<view class="button c" @click="goTo('/pages/index/index')">返回首页</view>

	</view>
</template>

<script>
	export default {
		components: {

		},
		data() {

			return {
				imgUrl: this.imgUrl,
			}
		},
		computed: {

		},
		onLoad() {

		},
		onShow() {
			this.getMemberInfo()
		},
		methods: {
			getMemberInfo() {
				this.$http.GetMemberInfo({

				}).then(res => {
					if (res.code == 0) {
						if (res.content) {
							uni.setStorageSync('userInfo', res.content)
							this.$store.commit('savemyUserInfo', res.content)

						}
					}

				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	page {
		background: #fff;
	}

	.su {
		width: 700rpx;
		height: 360rpx;
		background: #BFB59C;
		border-radius: 16rpx;
		font-size: 40rpx;
		color: #fff;

		image {
			width: 80rpx;
			height: 80rpx;
			margin-top: 92rpx;
		}

		>view {
			margin-top: 40rpx;
		}
	}

	.tac {
		text-align: center;
		margin-top: 35rpx;
		margin: 100upx auto 0;
	}

	.logo {
		width: 380rpx;
		height: 100rpx;
	}

	.p {
		text-indent: 2em;
		font-size: 28rpx;
		color: #333;
		padding: 0 50rpx;
		margin-top: 50rpx;
		line-height: 42rpx;
	}

	.c {
		position: absolute;
		left: 60rpx;
		bottom: 135rpx;
	}
</style>
